package com.lxmes.business.mapper;

import java.util.List;
import com.lxmes.business.domain.NcQualitySampling;

/**
 * 质量抽检单Mapper接口
 * 
 * @author lx
 * @date 2023-06-01
 */
public interface NcQualitySamplingMapper 
{
    /**
     * 查询质量抽检单
     * 
     * @param id 质量抽检单主键
     * @return 质量抽检单
     */
    public NcQualitySampling selectNcQualitySamplingById(Long id);

    /**
     * 查询质量抽检单列表
     * 
     * @param ncQualitySampling 质量抽检单
     * @return 质量抽检单集合
     */
    public List<NcQualitySampling> selectNcQualitySamplingList(NcQualitySampling ncQualitySampling);

    /**
     * 新增质量抽检单
     * 
     * @param ncQualitySampling 质量抽检单
     * @return 结果
     */
    public int insertNcQualitySampling(NcQualitySampling ncQualitySampling);

    /**
     * 修改质量抽检单
     * 
     * @param ncQualitySampling 质量抽检单
     * @return 结果
     */
    public int updateNcQualitySampling(NcQualitySampling ncQualitySampling);

    /**
     * 删除质量抽检单
     * 
     * @param id 质量抽检单主键
     * @return 结果
     */
    public int deleteNcQualitySamplingById(Long id);

    /**
     * 批量删除质量抽检单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcQualitySamplingByIds(Long[] ids);
}
